import request from '@/utils/request'

/**
 * 登录验证
 * @param params { loginName, password }
 * @returns {*}
 */
export function checkLogin (params) {
  return request.post('/user/login', params)
}
